<div class="cil__base-block">
  <img class="cil__top-image" src="assets/images/centaur/change.svg"/>

  <form class="cil__base-block--form" [formGroup]="validateForm" nz-form>
    <app-detail-header
      [title]="'BIZ.STORE.OTHER.TRADE' | i18n"
      [hideIcon]="true"
    ></app-detail-header>

    <div nz-row nzGutter="24">
      <div nz-col nzSpan="12">
        <nz-form-item>
          <nz-form-label>退款模式</nz-form-label>
          <nz-form-control>
            <nz-radio-group formControlName="isRefundAsync">
              <label nz-radio nzValue="false">同步退款</label>
              <label nz-radio nzValue="true">异步退款</label>
            </nz-radio-group>
          </nz-form-control>
        </nz-form-item>
      </div>

      <div nz-col nzSpan="12">
        <nz-form-item>
          <nz-form-label>交易类型</nz-form-label>
          <nz-form-control>
            <nz-checkbox-group
              formControlName="tradeTypes"
            ></nz-checkbox-group>
          </nz-form-control>
        </nz-form-item>
      </div>

      <div nz-col nzSpan="12">
        <nz-form-item>
          <nz-form-label>开通扫码交易小费</nz-form-label>
          <nz-form-control>
            <nz-switch></nz-switch>
          </nz-form-control>
        </nz-form-item>
      </div>

      <div nz-col nzSpan="12">
        <nz-form-item>
          <nz-form-label>开通固定金额收款码</nz-form-label>
          <nz-form-control>
            <nz-switch></nz-switch>
          </nz-form-control>
        </nz-form-item>
      </div>
    </div>

    <app-detail-header
      [title]="'入网功能'"
      [hideIcon]="true"
    ></app-detail-header>

    <div nz-row nzGutter="24">
      <div nz-col nzSpan="12">
        <nz-form-item>
          <nz-form-label>微信入网</nz-form-label>
          <nz-form-control>
            <nz-switch formControlName="autoWxpApply"></nz-switch>
          </nz-form-control>
        </nz-form-item>
      </div>

      <div nz-col nzSpan="12">
        <nz-form-item>
          <nz-form-label>支付宝入网</nz-form-label>
          <nz-form-control>
            <nz-switch formControlName="autoAlpApply"></nz-switch>
          </nz-form-control>
        </nz-form-item>
      </div>
    </div>
  </form>
</div>
